﻿using System;
using System.Windows.Forms;


namespace Contacts
{
    public static class Program
    {

        [STAThread]
        static void Main()
        {
            try
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new Contacts(Properties.Settings.Default.TIME_ALIVE));
                /* To start the program with a timer
                 * give a numerical value during the 
                 * class call. The Supported format is
                 * an integer representing Minutes
                 * The proper call for a 1 hour timer is
                 * Application.Run(new Contacts(Properties.Settings.Default.TIME_ALIVE));
                 */
            }
            catch (Exception e)
            {
                MessageBox.Show(e.ToString());
            }
        }

    }

}






